package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.bean.Orders;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Tang
 * @date 2023/2/25
 */
public interface OrdersService extends IService<Orders> {
    /**
     * 提交订单
     * @param orders
     */
    @Transactional
    void submit(Orders orders);
}
